﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:FishEyeWPF"
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    x:Class="FishEyeWPF.MainWindow"
    Title="Fisheye Behavior"
    Height="600"
    Width="912"
    WindowStartupLocation="CenterScreen">
    <Window.Background>
        <LinearGradientBrush
            EndPoint="0.5,1"
            StartPoint="0.5,0">
            <GradientStop
                Color="Black"
                Offset="0" />
            <GradientStop
                Color="Black"
                Offset="1" />
            <GradientStop
                Color="#FF333333"
                Offset="0.884" />
        </LinearGradientBrush>
    </Window.Background>
    <Grid>
        <StackPanel
            x:Name="_horizontal"
            VerticalAlignment="Bottom"
            Orientation="Horizontal"
            Margin="0,0,0,17"
            HorizontalAlignment="Center">
            <Image
                Height="64"
                Source="Assets/BookBlue.png"
                Stretch="Fill"
                Width="64"
                VerticalAlignment="Bottom">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="Assets/BookGreen.png"
                Stretch="Fill"
                Width="64"
                VerticalAlignment="Bottom">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="Assets/Eraser.png"
                Stretch="Fill"
                Width="64"
                VerticalAlignment="Bottom">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="Assets/Light.png"
                Stretch="Fill"
                Width="64"
                VerticalAlignment="Bottom">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="Assets/Monitor.png"
                Stretch="Fill"
                Width="64"
                VerticalAlignment="Bottom">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="Assets/Reminder.png"
                Stretch="Fill"
                Width="64"
                VerticalAlignment="Bottom">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="Assets/Wall.png"
                Stretch="Fill"
                Width="64"
                VerticalAlignment="Bottom">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="assets/msn_guys.png"
                Stretch="Fill"
                Width="64"
                VerticalAlignment="Bottom">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior />
                </i:Interaction.Behaviors>
            </Image>
        </StackPanel>
        <StackPanel
            x:Name="_vertical"
            VerticalAlignment="Center"
            Margin="0,0,8,0"
            HorizontalAlignment="Right">
            <Image
                Height="64"
                Source="Assets/BookBlue.png"
                Stretch="Fill"
                Width="64"
                HorizontalAlignment="Right">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        Orientation="Vertical" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="Assets/BookGreen.png"
                Stretch="Fill"
                Width="64"
                HorizontalAlignment="Right">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        Orientation="Vertical" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="Assets/Eraser.png"
                Stretch="Fill"
                Width="64"
                HorizontalAlignment="Right">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        Orientation="Vertical" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="Assets/Light.png"
                Stretch="Fill"
                Width="64"
                HorizontalAlignment="Right">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        Orientation="Vertical" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="Assets/Monitor.png"
                Stretch="Fill"
                Width="64"
                HorizontalAlignment="Right">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        Orientation="Vertical" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="Assets/Reminder.png"
                Stretch="Fill"
                Width="64"
                HorizontalAlignment="Right">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        Orientation="Vertical" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="Assets/Wall.png"
                Stretch="Fill"
                Width="64"
                HorizontalAlignment="Right">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        Orientation="Vertical" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="64"
                Source="assets/msn_guys.png"
                Stretch="Fill"
                Width="64"
                HorizontalAlignment="Right">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        Orientation="Vertical" />
                </i:Interaction.Behaviors>
            </Image>
        </StackPanel>
        <StackPanel
            x:Name="_images"
            HorizontalAlignment="Center"
            VerticalAlignment="Center"
            Orientation="Horizontal">
            <Image
                Height="60"
                Source="assets/20070416_214411.jpg"
                Stretch="UniformToFill"
                Width="100">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        MaxScale="3"
                        MaxDistance="500" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="60"
                Source="assets/20070521_232240.jpg"
                Stretch="UniformToFill"
                Width="100">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        MaxScale="3"
                        MaxDistance="500" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="60"
                Source="assets/20070817_200517.jpg"
                Stretch="UniformToFill"
                Width="100">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        MaxScale="3"
                        MaxDistance="500" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="60"
                Source="assets/20071106_095421.jpg"
                Stretch="UniformToFill"
                Width="100">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        MaxScale="3"
                        MaxDistance="500" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="60"
                Source="assets/20080815_114932.jpg"
                Stretch="UniformToFill"
                Width="100">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        MaxScale="3"
                        MaxDistance="500" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="60"
                Source="assets/20080827_152713.jpg"
                Stretch="UniformToFill"
                Width="100">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        MaxScale="3"
                        MaxDistance="500" />
                </i:Interaction.Behaviors>
            </Image>
            <Image
                Height="60"
                Source="assets/20081230_161345.jpg"
                Stretch="UniformToFill"
                Width="100">
                <i:Interaction.Behaviors>
                    <local:FishEyeBehavior
                        MaxScale="3"
                        MaxDistance="500" />
                </i:Interaction.Behaviors>
            </Image>
        </StackPanel>


    </Grid>
</Window>
